package com.hk.dao;

import com.hk.model.Nav;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: KangWang
 * Date: 2021/5/17 10:15
 * State：导航栏数据持久层
 */
public class NavDao {

// 查询导航栏
    public List<Nav> findAllNav() {
        List<Nav> navs = new ArrayList<>();
        navs.add(new Nav(1,"网站首页","/home"));
        navs.add(new Nav(2,"公司简介","/companyProfile"));
        navs.add(new Nav(3,"新闻动态","/newsTrends"));
        navs.add(new Nav(4,"产品展示","/productDisplay"));
        navs.add(new Nav(5,"在线留言","/onlineMessage"));
        navs.add(new Nav(6,"联系我们","/contactUs"));
        return navs;
    }
}
